package com.weipai.demo.mapper;

import com.weipai.demo.model.VehicleModel;

import java.util.List;

public interface VehicleModelMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VehicleModel record);

    int insertSelective(VehicleModel record);

//    VehicleModel selectByPrimaryKey(String vehicleModel);
    int updateByPrimaryKeySelective(VehicleModel record);

    int updateByPrimaryKey(VehicleModel record);

    int selectByPrimaryKey(VehicleModel vehicleModel);

    List<VehicleModel> selectByvehicleModel(String vehicleModel);


//    @Select({"SELECT"
//            +" v.id"
//            +"FROM "
//            +"c_vehicle_model v"
//            +"WHERE"
//            +"v.vehicle_model=${vehicleModel}"})
     // selectByvehicleModel(@Param("vehicleModel")String vehicleModel);
}